import React, { Component, PropTypes } from 'react';

class ListItem3 extends Component {
    constructor(props) {
        super(props)
    }
    render() {
        let {href, image, name} = this.props;

        return (
            <li className="mui-table-view-cell mui-media mui-col-xs-6 render-cell">
                <a className="cell__href" href="javascript:;" data-classUrl={href}>
                    <i className="render-icon render-icon__tuniu" style={{ backgroundImage: `url(${image})`, backgroundSize: "contain" }}></i>
                    <p className="render-text mui-ellipsis-2">{name}</p>
                </a>
            </li>
        );
    }
}

export default ListItem3;